package com.zhongfl.crm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tech.heptagram.core.common.rest.RestTemplateConfig;
import tech.heptagram.staff.cas.config.StaffCasConfig;

@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement
@MapperScan({"com.zhongfl.crm.**.mapper"})
@Import({RestTemplateConfig.class, StaffCasConfig.class})
public class ApplicationStarter {

    public static void main(String[] args) {
        SpringApplication.run(ApplicationStarter.class);
    }

}
